<script lang="ts">
import {defineComponent, h} from "vue"

export default defineComponent({
  name: "ShowHtml",
  props: {
    content: {
      type: [String, Number],
      required: true
    }
  },
  setup(props, {slots}) {
    let html = props.content.toString()
    return () => h('div', {class: "show-html", innerHTML: html})
  }
})
</script>
<style lang="scss" scoped>
.show-html {
  text-align: justify;
}
</style>